﻿
namespace MvcXRepairAdmin.Services
{
    using MvcXRepairAdmin.Interfaces;
    using MvcXRepairAdmin.Repository.SQL;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using XRepair.Models;

    public class OrderStatusService : IOrderStatusService
    {
        private OrderStatusDAO _orderStatusRepository;

        public OrderStatusService()
        {
            _orderStatusRepository = new OrderStatusDAO();
        }

        public IEnumerable<OrderStatus> GetAllOrderStatus()
        {
            return _orderStatusRepository.GetAllOrderStatus();
        }
    }
}
